package View;

import javax.swing.JFrame;

@SuppressWarnings("serial")
public class MainFrame extends JFrame {
	private static MainFrame single;
	
	// Constructor \\
	private MainFrame() {
		
		// Properties for the frame \\
		setSize(1000, 725);
		setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		setLocationRelativeTo(null);
		setResizable(false);
}

	// Singleton Method DO NOT MODIFY! \\
		public static MainFrame getInstance() {
			if(single == null){
				single = new MainFrame();
			}
			return single;
		}
		
		public static void selfDestroy(){
			single = null;
		}
}